package com.lianqi.emcpframework.dataaccess.supplier;

import com.lianqi.emcpframework.dataaccess.DataAccessContext;
import com.lianqi.emcpframework.dataaccess.DataAccessContextSupplier;
import org.springframework.beans.factory.annotation.Autowired;


/**
 * @program emcp-framework
 * @ClassName SimpleDataAccessContextSupplier
 * @description: shiro 权限定义提供
 * @author: sky
 * @create: 2019/05/30 18:30
 */
public class SimpleDataAccessContextSupplier implements DataAccessContextSupplier {

    @Autowired
    private DataAccessManager dataAccessManager;


    @Override
    public DataAccessContext get() { return dataAccessManager.getDataAccessContext();
    }
}
